BoolLoopsFromInterList

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

BoolLoopsFromInterList()  

SYNOPSIS

bool_lib/bool1low.c:979

void BoolLoopsFromInterList(IPPolygonStruct *Pl,
                            InterSegListStruct **PClosed,
                            InterSegListStruct **POpen)
 

DESCRIPTION

Given a polygon with the intersection list, creates the polylines loop(s) out of it, which can be one of the two:
 1. Closed loop - all the intersections create a loop in one polygon.
 2. Open polyline - if the intersections cross the polygon boundary. In this case the two end point of the polyline, must lay on polygon boundary.

In both cases, the polyline will be as follows: First point at first list element at PtSeg[0] (see InterSegmentStruct). Second point at first list element at PtSeg[1] (see InterSegmentStruct). Point i at list element (i-1) at PtSeg[0] (PtSeg[1] is not used!). In the closed loop case the last point is equal to first. Both cases returns NULL terminated list.  

PARAMETERS:

Pl: Polygon with intersection information in its PAux slot.

PClosed: To be updated with the closed loops found in Pl.

POpen: To be updated with the open loops found in Pl.  

FUNCTION RETURN VALUE

void

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:09 GMT, October 17, 2022